package cn.summit.licence;

import cn.summit.licence.comm.LicenseVerify;
import lombok.extern.slf4j.Slf4j;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author summit
 * @since 2022/7/21 17:01
 */
@RestController
@Slf4j
public class TestController {

    @Autowired
    private LicenseVerify licenseVerify;

    @GetMapping("/lic")
    public void test() {
        Boolean flag = licenseVerify.getLicenseExtraParam().getFlag();
        log.error("当前信息{}", flag);
    }
}
